{% extends '::base.html.twig' %}

{% block body -%}
    <h1>Booking</h1>

    <table class="record_properties">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Bookcode</th>
                <td>{{ entity.bookcode }}</td>
            </tr>
            <tr>
                <th>Created</th>
                <td>{{ entity.created|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Payed</th>
                <td>{{ entity.payed|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Booked</th>
                <td>{{ entity.booked|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Paymethod</th>
                <td>{{ entity.paymethod }}</td>
            </tr>
            <tr>
                <th>Amount</th>
                <td>{{ entity.amount }}</td>
            </tr>
            <tr>
                <th>Status</th>
                <td>{{ entity.status }}</td>
            </tr>
            <tr>
                <th>Comment</th>
                <td>{{ entity.comment }}</td>
            </tr>
            <tr>
                <th>Extresponse</th>
                <td>{{ entity.extResponse }}</td>
            </tr>
            <tr>
                <th>Operator</th>
                <td>{{ entity.operator }}</td>
            </tr>
            <tr>
                <th>Coordinator</th>
                <td>{{ entity.coordinator }}</td>
            </tr>
            <tr>
                <th>Aux</th>
                <td>{{ entity.aux }}</td>
            </tr>
            <tr>
                <th>Customer</th>
                <td>{{ entity.customer }}</td>
            </tr>
            <tr>
                <th>Product</th>
                <td>{{ entity.product }}</td>
            </tr>
        </tbody>
    </table>

        <ul class="record_actions">
    <li>
        <a href="{{ path('administracion_booking') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('administracion_booking_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}
